package com.dsg.dao.account;

import com.dsg.entity.account.DsgAccountCard;
import com.dsg.util.BaseDao;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * <p>
 * 油咭總帳 Mapper 接口
 * </p>
 *
 * @author system
 * @since 2020-07-12
 */
@Repository
public interface DsgAccountCardMapper extends BaseDao<DsgAccountCard> {


    /**
     * 查詢用戶賬戶情況
     *
     * @param cusNo
     * @param entCode
     * @return
     */
    List<DsgAccountCard> selectUserAccountList(@Param("cusNo") String cusNo, @Param("entCode") String entCode);

    /**
     * 查詢油咭狀態列表
     * @param cusNo
     * @param entCode
     * @return
     */
    List<DsgAccountCard> selectUserCardAccountList(String cusNo, String entCode);
}
